package vg_connector.interfaces;

import vg_connector.interfaces.actions.ParentAction;
import vg_connector.interfaces.exceptions.ConnectException;

import java.util.UUID;

/**
 * @author Timur Zolotuhin (tzolotuhin@parallels.com)
 */
public interface IClientAPIService {
    public void connect(UUID instanceId) throws ConnectException;

    public void disconnect() throws ConnectException;

    public void sendAction(ParentAction action, AnswerAdapter answerListener) throws ConnectException ;

    public void addClientListener(IClientListener clientListener);
}
